package com.family.dao.impl;

import com.family.dao.BookDao;
import org.springframework.stereotype.Repository;

@Repository
public class BookDaoImpl implements BookDao {

    public String findName(int id, String password) {
        System.out.println("我是BookDaoImpl里的打印方法，打印"+"id:"+id);
//        if(true)throw new NullPointerException();
        return password;
    }
}
